package com.ruoyi.vim.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.api.vo.Vehicle;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface VehicleMapper extends BaseMapper<Vehicle> {

    void add(Vehicle vehicle);

    List<Vehicle> selectAll();

    void updateByInfo(String carInfo,Integer state);

    void delectById(Long id);

    Vehicle selectByCarId(String s);
}
